StellarPay\AdminDashboard\RestApi\SubscriptionsListPage B

Total Complexity 82
Dependencies 30
Dependents 5
Total lines 843
Lines of code 573
Logical lines of code 219
Comment lines 107
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
prepareSubscriptionData()
A
37 12 71
cancelSubscription()
A
39 11 70
pauseSubscription()
A
43 8 56
resumeSubscription()
A
44 7 48
updateExistingPaymentMethod()
A
47 7 38
getRoutes()
S
37 1 110
getRecurringPeriod()
S
54 6 22
addNewPaymentMethod()
S
49 4 33
getSingleSubscription()
S
58 4 16
validateAndGetSubscription()
S
62 4 11
getPaymentMethods()
S
54 3 21
getSubscriptionListPage()
S
56 3 19
prepareRenewalOrders()
S
54 1 22
prepareSubscriptionDataById()
S
69 2 7
permissionCheck()
S
78 2 3
isEditPaymentMethodRequest()
S
75 2 4
__construct()
S
69 1 7
getPerPageLimit()
S
79 1 3
isCancelationRequest()
S
79 1 3
processRequest()
S
70 1 6
isPauseRequest()
S
79 1 3